﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AA1 RID: 2721
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LogisticsDetonateStarSkiffScRsp : IMessage<LogisticsDetonateStarSkiffScRsp>, IMessage, IEquatable<LogisticsDetonateStarSkiffScRsp>, IDeepCloneable<LogisticsDetonateStarSkiffScRsp>, IBufferMessage
	{
		// Token: 0x1700224B RID: 8779
		// (get) Token: 0x060079A3 RID: 31139 RVA: 0x001446A0 File Offset: 0x001428A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LogisticsDetonateStarSkiffScRsp> Parser
		{
			get
			{
				return LogisticsDetonateStarSkiffScRsp._parser;
			}
		}

		// Token: 0x1700224C RID: 8780
		// (get) Token: 0x060079A4 RID: 31140 RVA: 0x001446A7 File Offset: 0x001428A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LogisticsDetonateStarSkiffScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700224D RID: 8781
		// (get) Token: 0x060079A5 RID: 31141 RVA: 0x001446B9 File Offset: 0x001428B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LogisticsDetonateStarSkiffScRsp.Descriptor;
			}
		}

		// Token: 0x060079A6 RID: 31142 RVA: 0x001446C0 File Offset: 0x001428C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsDetonateStarSkiffScRsp()
		{
		}

		// Token: 0x060079A7 RID: 31143 RVA: 0x001446C8 File Offset: 0x001428C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsDetonateStarSkiffScRsp(LogisticsDetonateStarSkiffScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060079A8 RID: 31144 RVA: 0x001446ED File Offset: 0x001428ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsDetonateStarSkiffScRsp Clone()
		{
			return new LogisticsDetonateStarSkiffScRsp(this);
		}

		// Token: 0x1700224E RID: 8782
		// (get) Token: 0x060079A9 RID: 31145 RVA: 0x001446F5 File Offset: 0x001428F5
		// (set) Token: 0x060079AA RID: 31146 RVA: 0x001446FD File Offset: 0x001428FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060079AB RID: 31147 RVA: 0x00144706 File Offset: 0x00142906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LogisticsDetonateStarSkiffScRsp);
		}

		// Token: 0x060079AC RID: 31148 RVA: 0x00144714 File Offset: 0x00142914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LogisticsDetonateStarSkiffScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060079AD RID: 31149 RVA: 0x00144744 File Offset: 0x00142944
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060079AE RID: 31150 RVA: 0x00144783 File Offset: 0x00142983
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060079AF RID: 31151 RVA: 0x0014478B File Offset: 0x0014298B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060079B0 RID: 31152 RVA: 0x00144794 File Offset: 0x00142994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060079B1 RID: 31153 RVA: 0x001447C8 File Offset: 0x001429C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060079B2 RID: 31154 RVA: 0x00144806 File Offset: 0x00142A06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LogisticsDetonateStarSkiffScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060079B3 RID: 31155 RVA: 0x00144837 File Offset: 0x00142A37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060079B4 RID: 31156 RVA: 0x00144840 File Offset: 0x00142A40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002E81 RID: 11905
		private static readonly MessageParser<LogisticsDetonateStarSkiffScRsp> _parser = new MessageParser<LogisticsDetonateStarSkiffScRsp>(() => new LogisticsDetonateStarSkiffScRsp());

		// Token: 0x04002E82 RID: 11906
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E83 RID: 11907
		public const int RetcodeFieldNumber = 4;

		// Token: 0x04002E84 RID: 11908
		private uint retcode_;
	}
}
